package com.xbjtech.service;

import java.util.List;

import com.xbjtech.model.Hxm;
import com.xbjtech.model.Order;
import com.xbjtech.model.OrderExample;

public interface OrderService {
	
	List<Order> getOrdersPaged(OrderExample example, int page, int rows);
	void insertOrder(Order order) throws Throwable;
	Order getOrderById(Long id);
	void updateOrder(Order order) throws Exception;
	void deleteOrderById(Long id) throws Exception;
	List<Order> getAllOrder(OrderExample example);
	void saveOrders(List<Order> orders) throws Exception;
	void pd(Order order) throws Exception;
	void hx(Order order, Hxm hxm) throws Exception;
}
